.class Lcom/glympse/android/glympse/ViewFavorites$MyGlympseView;
.super Lcom/glympse/android/glympse/Glympse$GlympseView;
.source "ViewFavorites.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/glympse/android/glympse/ViewFavorites;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = "MyGlympseView"
.end annotation


# instance fields
.field final synthetic this$0:Lcom/glympse/android/glympse/ViewFavorites;


# direct methods
.method constructor <init>(Lcom/glympse/android/glympse/ViewFavorites;)V
    .locals 0
    .parameter

    .prologue
    .line 57
    iput-object p1, p0, Lcom/glympse/android/glympse/ViewFavorites$MyGlympseView;->this$0:Lcom/glympse/android/glympse/ViewFavorites;

    invoke-direct {p0}, Lcom/glympse/android/glympse/Glympse$GlympseView;-><init>()V

    return-void
.end method


# virtual methods
.method public CreateView()V
    .locals 5

    .prologue
    .line 62
    iget-object v1, p0, Lcom/glympse/android/glympse/ViewFavorites$MyGlympseView;->this$0:Lcom/glympse/android/glympse/ViewFavorites;

    invoke-static {v1}, Lcom/glympse/android/glympse/ViewFavorites;->access$0(Lcom/glympse/android/glympse/ViewFavorites;)Landroid/widget/ListView;

    move-result-object v1

    if-nez v1, :cond_0

    .line 64
    iget-object v1, p0, Lcom/glympse/android/glympse/ViewFavorites$MyGlympseView;->this$0:Lcom/glympse/android/glympse/ViewFavorites;

    invoke-virtual {v1}, Lcom/glympse/android/glympse/ViewFavorites;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-static {v1}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v1

    const v2, 0x7f030011

    iget-object v3, p0, Lcom/glympse/android/glympse/ViewFavorites$MyGlympseView;->this$0:Lcom/glympse/android/glympse/ViewFavorites;

    const/4 v4, 0x1

    invoke-virtual {v1, v2, v3, v4}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object v0

    .line 67
    .local v0, oView:Landroid/view/View;
    iget-object v2, p0, Lcom/glympse/android/glympse/ViewFavorites$MyGlympseView;->this$0:Lcom/glympse/android/glympse/ViewFavorites;

    const v1, 0x7f0c0006

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    invoke-static {v2, v1}, Lcom/glympse/android/glympse/ViewFavorites;->access$1(Lcom/glympse/android/glympse/ViewFavorites;Landroid/widget/TextView;)V

    .line 68
    iget-object v2, p0, Lcom/glympse/android/glympse/ViewFavorites$MyGlympseView;->this$0:Lcom/glympse/android/glympse/ViewFavorites;

    const v1, 0x7f0c0026

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ListView;

    invoke-static {v2, v1}, Lcom/glympse/android/glympse/ViewFavorites;->access$2(Lcom/glympse/android/glympse/ViewFavorites;Landroid/widget/ListView;)V

    .line 71
    iget-object v1, p0, Lcom/glympse/android/glympse/ViewFavorites$MyGlympseView;->this$0:Lcom/glympse/android/glympse/ViewFavorites;

    invoke-static {v1}, Lcom/glympse/android/glympse/ViewFavorites;->access$0(Lcom/glympse/android/glympse/ViewFavorites;)Landroid/widget/ListView;

    move-result-object v1

    iget-object v2, p0, Lcom/glympse/android/glympse/ViewFavorites$MyGlympseView;->this$0:Lcom/glympse/android/glympse/ViewFavorites;

    invoke-static {v2}, Lcom/glympse/android/glympse/ViewFavorites;->access$3(Lcom/glympse/android/glympse/ViewFavorites;)Landroid/widget/TextView;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/ListView;->setEmptyView(Landroid/view/View;)V

    .line 73
    .end local v0           #oView:Landroid/view/View;
    :cond_0
    return-void
.end method

.method public DestroyView()V
    .locals 2

    .prologue
    const/4 v1, 0x0

    .line 78
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewFavorites$MyGlympseView;->this$0:Lcom/glympse/android/glympse/ViewFavorites;

    invoke-static {v0}, Lcom/glympse/android/glympse/ViewFavorites;->access$0(Lcom/glympse/android/glympse/ViewFavorites;)Landroid/widget/ListView;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 80
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewFavorites$MyGlympseView;->this$0:Lcom/glympse/android/glympse/ViewFavorites;

    invoke-static {v0}, Lcom/glympse/android/glympse/ViewFavorites;->access$0(Lcom/glympse/android/glympse/ViewFavorites;)Landroid/widget/ListView;

    move-result-object v0

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    .line 82
    :cond_0
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewFavorites$MyGlympseView;->this$0:Lcom/glympse/android/glympse/ViewFavorites;

    invoke-static {v0, v1}, Lcom/glympse/android/glympse/ViewFavorites;->access$2(Lcom/glympse/android/glympse/ViewFavorites;Landroid/widget/ListView;)V

    .line 83
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewFavorites$MyGlympseView;->this$0:Lcom/glympse/android/glympse/ViewFavorites;

    invoke-static {v0, v1}, Lcom/glympse/android/glympse/ViewFavorites;->access$1(Lcom/glympse/android/glympse/ViewFavorites;Landroid/widget/TextView;)V

    .line 84
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewFavorites$MyGlympseView;->this$0:Lcom/glympse/android/glympse/ViewFavorites;

    invoke-static {v0, v1}, Lcom/glympse/android/glympse/ViewFavorites;->access$4(Lcom/glympse/android/glympse/ViewFavorites;Lcom/glympse/android/glympse/ViewFavorites$TicketAdapter;)V

    .line 86
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewFavorites$MyGlympseView;->this$0:Lcom/glympse/android/glympse/ViewFavorites;

    invoke-virtual {v0}, Lcom/glympse/android/glympse/ViewFavorites;->removeAllViews()V

    .line 87
    return-void
.end method

.method public OnGainFocus(Lcom/glympse/android/glympse/Glympse$EViews;)V
    .locals 1
    .parameter "eViewPrevious"

    .prologue
    .line 92
    invoke-super {p0, p1}, Lcom/glympse/android/glympse/Glympse$GlympseView;->OnGainFocus(Lcom/glympse/android/glympse/Glympse$EViews;)V

    .line 94
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewFavorites$MyGlympseView;->this$0:Lcom/glympse/android/glympse/ViewFavorites;

    invoke-static {v0}, Lcom/glympse/android/glympse/ViewFavorites;->access$5(Lcom/glympse/android/glympse/ViewFavorites;)V

    .line 95
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewFavorites$MyGlympseView;->this$0:Lcom/glympse/android/glympse/ViewFavorites;

    invoke-static {v0}, Lcom/glympse/android/glympse/ViewFavorites;->access$6(Lcom/glympse/android/glympse/ViewFavorites;)V

    .line 96
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewFavorites$MyGlympseView;->this$0:Lcom/glympse/android/glympse/ViewFavorites;

    invoke-static {v0}, Lcom/glympse/android/glympse/ViewFavorites;->access$7(Lcom/glympse/android/glympse/ViewFavorites;)V

    .line 97
    return-void
.end method
